projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bde111
)
(term-send-raw): Deactivate the mark first (Bug#2449).
author
Chong Yidong
<cyd@stupidchicken.com>
Sun, 8 Mar 2009 19:33:06 +0000
(19:33 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sun, 8 Mar 2009 19:33:06 +0000
(19:33 +0000)
lisp/term.el
patch
|
blob
|
history
diff --git
a/lisp/term.el
b/lisp/term.el
index e9ece6203bcc628dd065aeec28ad2088bbee4553..3d21d8b6fc03588b75fda3ccc330068a15ed68ba 100644
(file)
--- a/
lisp/term.el
+++ b/
lisp/term.el
@@
-1182,7
+1182,8
@@
Entry to this mode runs the hooks on `term-mode-hook'."
"Send the last character typed through the terminal-emulator
without any interpretation."
(interactive)
- ;; Convert `return' to C-m, etc.
+ (deactivate-mark)
+ ;; Convert `return' to C-m, etc.
(when (and (symbolp last-input-event)
(get last-input-event 'ascii-character))
(setq last-input-event (get last-input-event 'ascii-character)))